﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/MasterPage.master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Fjaspx.UI.Web.Default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table class="mainwidth" id="mainbody" cellspacing="0" cellpadding="0" width="1000px"
        align="center" border="0">
        <tr>
            <td class="mainright" valign="top" style="border-left: 6px solid #fff;">
                <!--右-->
                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                    <tr>
                        <td class="pop">

                            <script type="text/javascript">
                                cpro_client = "sxxx66_cpr";
                                cpro_at = "image";
                                cpro_161 = 4;
                                cpro_flush = 4;
                                cpro_w = 760;
                                cpro_h = 90;
                                cpro_template = "text_default_760_90";
                                cpro_cbd = "06B3EB";
                                cpro_cbg = "FFFFFF";
                                cpro_ctitle = "0000ff";
                                cpro_cdesc = "444444";
                                cpro_curl = "008000";
                                cpro_cflush = "e10900";
                                cpro_uap = 1;
                                cpro_cad = 1;
                            </script>

                            <script language="JavaScript" type="text/javascript" src="http://cpro.baidu.com/cpro/ui/cp.js"></script>

                        </td>
                    </tr>
                    <tr>
                        <td class="pathline">
                            <img height="14" alt="" src="Skin/webui_07AT/pathpic.gif" width="14" align="absMiddle">
                            您现在的位置：&nbsp;<a class='LinkPath' href='http://www.fjaspx.com'>福建IT技术交流中心</a>&nbsp;&gt;&gt;&nbsp;首页
                        </td>
                    </tr>
                </table>
                <table style="margin-top: 6px; background: url(Skin/webui_07AT/newsboxbg.gif) repeat-x 50% top"
                    cellspacing="0" cellpadding="0" width="100%" border="0">
                    <tr>
                        <td valign="top" width="320">

                            <script type="text/javascript">
                             <%System.Data.DataSet dataset2=GetChannel1();%>
                                        <%if (dataset2.Tables[0].Rows.Count > 0)
                                          {%>
                                          <%for (int i = 0; i <= dataset2.Tables[0].Rows.Count - 1; i++)
                                            {%>
                                imgUrl<%=i+1%> = "<%=dataset2.Tables[0].Rows[i]["Images"].ToString()%>"
                                imgLink<%=i+1%> = "Article/Article.aspx?Id=<%=dataset2.Tables[0].Rows[i]["OrderId"].ToString()%>"
                                imgtext<%=i+1%> = "<%=dataset2.Tables[0].Rows[i]["ArtTitle"].ToString()%>"
                                 <%}%>
                                 <%}%>
                                  
                                var focus_width = 317
                                var focus_height = 190
                                var text_height = 18
                                var swf_height = focus_height + text_height
                                var imgUrl1, imgUrl2, imgUrl3, imgUrl4, imgUrl5;
                                var imgLink1, imgLink2, imgLink3, imgLink4, imgLink5;
                                var imgtext1, imgtext2, imgtext3, imgtext4, imgtext5;
                                var pics = imgUrl1 + "|" + imgUrl2 + "|" + imgUrl3 + "|" + imgUrl4 + "|" + imgUrl5
                                var links = imgLink1 + "|" + imgLink2 + "|" + imgLink3 + "|" + imgLink4 + "|" + imgLink5
                                var texts = imgtext1 + "|" + imgtext2 + "|" + imgtext3 + "|" + imgtext4 + "|" + imgtext5
                                document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cabversion=6,0,0,0" width="' + focus_width + '" height="' + swf_height + '">');
                                document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="Skin/webui_07AT/flash01.swf"><param name="quality" value="high"><param name="bgcolor" value=ffffff>');
                                document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
                                document.write('<param name="FlashVars" value="pics=' + pics + '&links=' + links + '&texts=' + texts + '&borderwidth=' + focus_width + '&borderheight=' + focus_height + '&textheight=' + text_height + '">');
                                document.write('<embed src="Skin/webui_07AT/flash01.swf" wmode="opaque" FlashVars="pics=' + pics + '&links=' + links + '&texts=' + texts + '&borderwidth=' + focus_width + '&borderheight=' + focus_height + '&textheight=' + text_height + '" menu="false" bgcolor=ffffff quality="high" width="' + focus_width + '" height="' + swf_height + '" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
                                document.write('</object>');
 
                            </script>

                        </td>
                        <td valign="top">
                            <table cellspacing="0" cellpadding="0" width="430" align="center" border="0">
                                <tr>
                                    <td>
                                        <a href="Article/">
                                            <img height="31" alt="" src="Skin/webui_07AT/topnewspic.gif" width="431" border="0"></a>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <%System.Data.DataSet dataset = GetChannel2();%>
                                        <%if (dataset.Tables[0].Rows.Count > 0)
                                          {%>
                                        <%for (int i = 0; i <= dataset.Tables[0].Rows.Count - 1; i++)
                                          {%>
                                        <table width="100%" cellpadding="0" cellspacing="0">
                                            <tr>
                                                <td width="10" valign="top" class="listbga">
                                                    <img src="images/Article_common6.gif" alt="普通文章">
                                                </td>
                                                <td class="listbga">
                                                    <a class="listbga" href="Article/Article.aspx?Id=<%=dataset.Tables[0].Rows[i]["OrderId"].ToString()%>"
                                                        title="文章标题：<%=dataset.Tables[0].Rows[i]["ArtTitle"].ToString()%>
作&nbsp;&nbsp;&nbsp;&nbsp;者：<%=dataset.Tables[0].Rows[i]["ArtAuthor"].ToString()%>
更新时间：<%=Convert.ToDateTime(dataset.Tables[0].Rows[i]["ArtDate"]).ToString("yyyy-MM-dd HH:mm")%>"" " target="_blank">
                                                        <%=dataset.Tables[0].Rows[i]["ArtTitle"].ToString()%></a>
                                                </td>
                                                <td align="right" class="listbga" width="60">
                                                    <font color="red">
                                                        <%=Convert.ToDateTime(dataset.Tables[0].Rows[i]["ArtDate"]).ToString("yyyy-MM-dd")%></font>
                                                </td>
                                            </tr>
                                            <%}%>
                                        </table>
                                        <%}%>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td class="mainlinebg">
                        </td>
                    </tr>
                </table>
                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                    <tr>
                        <td valign="top">
                            <!--频道一最新文章代码开始-->
                            <%=ChannelHtml("1")%>
                            <!--频道一最新文章代码结束-->
                        </td>
                        <td valign="top" width="12">
                        </td>
                        <td valign="top">
                            <!--频道二最新文章代码开始-->
                            <%=ChannelHtml("2")%>
                            <!--频道二最新文章代码结束-->
                        </td>
                    </tr>
                </table>
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td class="mainlinebg">
                        </td>
                    </tr>
                </table>
                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                    <tr>
                        <td valign="top">
                            <!--频道一最新文章代码开始-->
                            <%=ChannelHtml("3")%>
                            <!--频道一最新文章代码结束-->
                        </td>
                        <td valign="top" width="12">
                        </td>
                        <td valign="top">
                            <!--频道二最新文章代码开始-->
                            <%=ChannelHtml("4")%>
                            <!--频道二最新文章代码结束-->
                        </td>
                    </tr>
                </table>
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td class="mainlinebg">
                        </td>
                    </tr>
                </table>
                <table class="mainbox" cellspacing="1" cellpadding="0" width="100%" border="0">
                    <tr>
                        <td class="main_title_282i">
                            <a class="mainnava" href="Photo/">图片中心</a>
                        </td>
                    </tr>
                    <tr>
                        <td class="main_tdbg_575" valign="top" align="middle">
                          <%--   <% =ChannelImageHtml()%> --%>
                        </td>
                    </tr>
                </table>
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td class="mainlinebg">
                        </td>
                    </tr>
                </table>
                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                    <tr>
                        <td valign="top">
                            <!--频道一最新文章代码开始-->
                           <%=ChannelHtml("5")%> 
                            <!--频道一最新文章代码结束-->
                        </td>
                        <td valign="top" width="12">
                        </td>
                        <td valign="top">
                            <!--频道二最新文章代码开始-->
                          <%=ChannelHtml("6")%> 
                            <!--频道二最新文章代码结束-->
                        </td>
                    </tr>
                </table>
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td class="mainlinebg">
                        </td>
                    </tr>
                </table>
                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                    <tr>
                        <td valign="top">
                            <!--频道一最新文章代码开始-->
                            <%=ChannelHtml("7")%> 
                            <!--频道一最新文章代码结束-->
                        </td>
                        <td valign="top" width="12">
                        </td>
                        <td valign="top">
                            <!--频道二最新文章代码开始-->
                        <%=ChannelHtml("8")%> 
                            <!--频道二最新文章代码结束-->
                        </td>
                    </tr>
                </table>
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td class="mainlinebg">
                        </td>
                    </tr>
                </table>
                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                    <tr>
                        <td valign="top" width="34%">
                            <!--频道一最新文章代码开始-->
                            <%--<%=ChannelHtmlNoImage("9")%>--%>
                            <!--频道一最新文章代码结束-->
                        </td>
                        <td valign="top" width="34%">
                            <%--<%=ChannelHtmlNoImage("10")%>--%>
                        </td>
                        <td valign="top" width="32%">
                            <!--频道二最新文章代码开始-->
                            <%--<%=ChannelHtmlNoImage("11")%>--%>
                            <!--频道二最新文章代码结束-->
                        </td>
                    </tr>
                </table>
                <!--右结束-->
            </td>
            <td class="mainleft" valign="top" width="219" style="border-right: 5px solid #fff;">
                <!--左-->
                <table cellspacing="0" cellpadding="0" border="0">
                    <tr>
                        <td>
                            <img height="37" alt="" src="Skin/webui_07AT/memberpic.gif" width="147"/>
                        </td>
                    </tr>
                </table>
                &nbsp;&nbsp;&nbsp; 当前状态&nbsp;&nbsp;&nbsp;&nbsp; <font color="#9955aa">游客</font>
                <br/>
                &nbsp;&nbsp;&nbsp; 发表文章&nbsp;&nbsp;&nbsp; &nbsp;我的留言<br>
                &nbsp;&nbsp;&nbsp; 我的空间&nbsp;&nbsp;&nbsp;&nbsp; 我的收藏<br>
                &nbsp;&nbsp;&nbsp;&nbsp;<a title="" href="index.html" target="_blank"><font color="#ff0033">马上登录</font></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a
                    title="" href="index.html" target="_blank"><font color="#0000ff">免费注册</font></a>
                <table class="leftbox" cellspacing="0" cellpadding="0" width="100%" align="center"
                    border="0">
                    <tr>
                        <td class="lefttit">
                            热点栏目导航
                        </td>
                    </tr>
                    <tr>
                        <td class="leftbody">
                            <p>
                                <%=HotChannel()%>
                            </p>
                        </td>
                    </tr>
                </table>

                <script language="javascript1.2" type="text/javascript">
                    function showmenu(TID) {
                        TID.className = "leftnavb";
                        var ja;
                        for (var i = 0; i <= 1; i++) {
                            id = "nava" + i;
                            ea = document.getElementById("arta" + i);
                            ja = document.getElementById(id);
                            if (id != TID.id) {
                                ja.className = "leftnava";
                                ea.className = "leftnavbodyn";
                            }
                            else {
                                ea.className = "leftnavbodyb";
                            }
                        }
                    }
                </script>

                <table class="leftbox" cellspacing="0" cellpadding="0" width="100%" align="center"
                    border="0">
                    <tr>
                        <td class="leftnavtit" valign="bottom">
                            <a class="leftnavb" id="nava0" onmouseover="javascript:showmenu(this)" href="index.html">
                                视频教程</a><a class="leftnava" id="nava1" onmouseover="javascript:showmenu(this)" href="index.html">人物访谈</a>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <table class="leftnavbodyb" id="arta0" cellspacing="0" cellpadding="0" width="100%"
                                align="center" border="0">
                                <tr>
                                    <td class="leftbody">
                                        <%=getArticleVoid()%>
                                    </td>
                                </tr>
                            </table>
                            <table class="leftnavbodyn" id="arta1" cellspacing="0" cellpadding="0" width="100%"
                                align="center" border="0">
                                <tr>
                                    <td class="leftbody">
                                        <%=getArticlePeople()%>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>

                <script language="javascript1.2" type="text/javascript">
                    function showmenu(TID) {
                        TID.className = "leftnavb";
                        var ja;
                        for (var i = 0; i <= 1; i++) {
                            id = "nava" + i;
                            ea = document.getElementById("arta" + i);
                            ja = document.getElementById(id);
                            if (id != TID.id) {
                                ja.className = "leftnava";
                                ea.className = "leftnavbodyn";
                            }
                            else {
                                ea.className = "leftnavbodyb";
                            }
                        }
                    }
                </script>

                <table class="leftbox" cellspacing="0" cellpadding="0" width="100%" align="center"
                    border="0">
                    <tr>
                        <td class="leftnavtit" valign="bottom">
                            <a class="leftnavb" id="navb0" onmouseover="javascript:showmenub(this)" href="index.html">
                                最新文章</a><a class="leftnava" id="navb1" onmouseover="javascript:showmenub(this)" href="index.html">推荐文章</a>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <table class="leftnavbodyb" id="artb0" cellspacing="0" cellpadding="0" width="100%"
                                align="center" border="0">
                                <tr>
                                    <td class="leftbody">
                                        <%=getArticleNew()%>
                                    </td>
                                </tr>
                            </table>
                            <table class="leftnavbodyn" id="artb1" cellspacing="0" cellpadding="0" width="100%"
                                align="center" border="0">
                                <tr>
                                    <td class="leftbody">
                                        <%=getArticleCommend()%>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>

                <script language="javascript1.2" type="text/javascript">
                    function showmenub(TID) {
                        TID.className = "leftnavb";
                        var ja;
                        for (var i = 0; i <= 1; i++) {
                            id = "navb" + i;
                            ea = document.getElementById("artb" + i);
                            ja = document.getElementById(id);
                            if (id != TID.id) {
                                ja.className = "leftnava";
                                ea.className = "leftnavbodyn";
                            }
                            else {
                                ea.className = "leftnavbodyb";
                            }
                        }
                    }
                </script>

                <table class="leftbox" cellspacing="0" cellpadding="0" width="100%" align="center"
                    border="0">
                    <tr>
                        <td class="lefttit">
                            站长周刊
                        </td>
                    </tr>
                    <tr>
                        <td class="leftbody">
                            <table class="leftnavbodyb" id="arta0" cellspacing="0" cellpadding="0" width="100%"
                                align="center" border="0">
                                <tr>
                                    <td class="leftbody">
                                        <table cellspacing="3" cellpadding="0" width="100%" border="0">
                                            <tr class="leftline">
                                                <td align="middle" width="70">
                                                    <%=getArticletWeb()%>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>

                <script language="javascript1.2" type="text/javascript">
                    function showmenub(TID) {
                        TID.className = "leftnavb";
                        var ja;
                        for (var i = 0; i <= 1; i++) {
                            id = "navb" + i;
                            ea = document.getElementById("artb" + i);
                            ja = document.getElementById(id);
                            if (id != TID.id) {
                                ja.className = "leftnava";
                                ea.className = "leftnavbodyn";
                            }
                            else {
                                ea.className = "leftnavbodyb";
                            }
                        }
                    }
                </script>

                <table class="leftbox" cellspacing="0" cellpadding="0" width="100%" align="center"
                    border="0">
                    <tr>
                        <td class="lefttit">
                            常用软件
                        </td>
                    </tr>
                    <tr>
                        <td class="leftbody">
                            <p>
                                <%=UseSoft()%>
                            </p>
                        </td>
                    </tr>
                </table>

                <script language="javascript1.2" type="text/javascript">
                    function showmenub(TID) {
                        TID.className = "leftnavb";
                        var ja;
                        for (var i = 0; i <= 1; i++) {
                            id = "navb" + i;
                            ea = document.getElementById("artb" + i);
                            ja = document.getElementById(id);
                            if (id != TID.id) {
                                ja.className = "leftnava";
                                ea.className = "leftnavbodyn";
                            }
                            else {
                                ea.className = "leftnavbodyb";
                            }
                        }
                    }
                </script>

                <table class="leftbox" cellspacing="0" cellpadding="0" width="100%" align="center"
                    border="0">
                    <tr>
                        <td class="lefttit">
                            <a title="" href="http://www.taobao.com/">淘宝联盟</a>
                        </td>
                    </tr>
                    <tr>
                        <td class="leftbody">
                         <script type="text/javascript">
                             alimama_pid = "mm_10831645_2378892_9224149";
                             alimama_titlecolor = "0000FF";
                             alimama_descolor = "000000";
                             alimama_bgcolor = "FFFFFF";
                             alimama_bordercolor = "E6E6E6";
                             alimama_linkcolor = "008000";
                             alimama_bottomcolor = "FFFFFF";
                             alimama_anglesize = "0";
                             alimama_bgpic = "0";
                             alimama_icon = "0";
                             alimama_sizecode = "11";
                             alimama_width = 760;
                             alimama_height = 90;
                             alimama_type = 2; 
</script> 
<script src="http://a.alimama.cn/inf.js" type="text/javascript"> 
</script>
                        </td>
                    </tr>
                </table>
                <!--左结束-->
            </td>
        </tr>
    </table>
    <table class="mainwidth" border="0" cellspacing="0" cellpadding="0" width="1000"
        align="center">
        <tr>
            <td class="flinkbox">
                <table border="0" cellspacing="0" cellpadding="0" width="988" align="center">
                    <tr>
                        <td width="48">
                            <a href="FriendSite/" target="_blank">
                                <img style="width: 48px; height: 110px" border="0" hspace="0" alt="" src="Skin/webui_07AT/flinkpic.gif"
                                    width="48" height="110"></a>
                        </td>
                        <td style="background: url(Skin/webui_07AT/flinkbg.gif) repeat-x 50% top">
                            <p>
                                <%=FriendLink()%>
                            </p>
                        </td>
                        <td width="8">
                            <img style="width: 8px; height: 110px" border="0" hspace="0" alt="" src="Skin/webui_07AT/flinkr.gif"
                                width="8" height="110">
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>